
<%-- 
    Document   : lancamentos
    Created on : 06/05/2014, 00:00:20
    Author     : Adriano
--%>


<%@taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<%@taglib uri="http://struts.apache.org/tags-html" prefix="h"%>


<%@page contentType="text/html" pageEncoding="UTF-8"%>


<script src="resources/js/custom/utils.js"></script>
<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css" />
<script src="http://code.jquery.com/jquery-1.9.1.js"></script>
<script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>

<!-- <script type="text/javascript" src="resources/js/jquery-ui.min.js"></script>
<link rel="stylesheet" type="text/css"
	href="resources/css/smoothness/jquery-ui.css" /> -->

<form class="allForm frmLancamento" id="FrmLancamento"
	name="FrmLancamento">

	<fieldset class="form container lancamento">

		<div class="title">
			<span class="h1">Cadastro de Lançamento</span>
		</div>

		<div class="actionsbuttons">
			<a class="tooltips" href="#"> <span>Verifique os Planos já
					cadastrados.<br> Caso não atenda sua necessidade , cadastre um
					novo Plano
			</span>
			</a> <a class="newgroup" onclick="AddLancamentos();"
				title="Cadastrar novo Plano de Contas"
				alt="Cadastrar novo Plano de Contas"> </a> <a class="deletenewgroup"
				onclick="RemoveNewGroupPlanAccount();"
				title="Remover novo Plano de Contas"></a>
		</div>
		<div class="form-field dates">
			<label for="data">Data: </label> <input type="text" id="calendario"
				name="txtdate" class="form-control" onchange="validateData(this);">
			<span class="validacao name"></span>
		</div>
		<div class="form-field natureza">
			<label for="natureza">Natureza:</label> <select name="lstNatureza"
				class="form-control natureza ">
				<option>Selecione a Natureza</option>
				<option value="2">Débito</option>
				<option value="1">Crédito</option>

			</select> <span class="validacao validacaoNatureza"></span>
		</div>
		<div class="form-field contaContabil">
			<label>Conta Contábil:</label> <input type="text"
				class="form-control lancamentoContaContabil" name="txtConta"
				id="contabil" />

		</div>
		
		<div class="form-field valorLancamento valor">
			<label>Valor:</label> <input type="text"
				class="form-control valorLancamento valorLancamentos"
				name="txtValor" onblur="validateValorLancamentos(this);" required />
			<span class="validacao validacaoValorLancamento"></span>
		</div>

		<div class="form-field saldoLancamento lancamentos">
			<label>Saldo do Lançamento:</label> <input type="text"
				class="form-control saldoLancamento saldoLancamentos"
				name="txtSaldo" onblur="validateSaldoLancamentos(this);" required />
			<span class="validacao validacaoSaldoLancamento"></span>
		</div>


		<div class="form-field lstHistoricoPadrao">
			<label>Histórico Padrão</label> <select name="lstHistorico"
				class="form-control lstHistorico "
				onchange="validateHistoricoPadrao();">
				<option>Selecione o Histórico</option>
				<c:forEach items="${ListHistorico}" var="hist">
					<option><c:out value="${hist.txtDescricao}" /></option>
				</c:forEach>

			</select> <span class="validacao validacaoLstHistoricoPadrao"></span>
		</div>

		<div class="form-field complHistorico">
			<label>Complemento de Histórico:</label> <input type="text"
				class="form-control complHistorico" name="txtComplementoHistorico"
				required /> <span class="validacao validaHistorico"></span>
		</div>



		<div class="form-actions buttonsActionUser ">
			<input type="reset" id="btncancelar" class="button-black"
				value="Cancelar"> <input type="button"
				onclick="ValidateFormLancamentos();" id="btnenviar"
				class="button-black" value="Salvar">

		</div>
	</fieldset>
</form>

